package com.idealighter.game.roomcard.struct.convert;

import com.idealighter.game.roomcard.struct.RoomCardGameCfg;
import com.idealighter.game.server.db.datadb.generate.domain.RoomCardGameCfgDomain;

import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoomCardGameCfgConvert {
  public static final RoomCardGameCfgConvert INSTANCE =
      Mappers.getMapper(RoomCardGameCfgConvert.class);

  // public <T extends RoomCardGameCfgValue> void po2bo(@MappingTarget RoomCardGameCfg<T> result,
  // RoomCardGameCfgDomainWithBLOBs domain);
  //
  // public <T extends RoomCardGameCfgValue> RoomCardGameCfgDomainWithBLOBs bo2po(
  // RoomCardGameCfg<T> po);

  public void po2bo(@SuppressWarnings("rawtypes") @MappingTarget RoomCardGameCfg result,
      RoomCardGameCfgDomain domain);

  public RoomCardGameCfgDomain bo2po(@SuppressWarnings("rawtypes") RoomCardGameCfg po);
}
